function Ln-Config {
    param (
        $config
    )
    $file = Join-Path $PSScriptRoot '.config' $config
    $link = Join-Path $env:appdata $config
    New-Item -Type SymbolicLink -Path $link -Value $file
}

Ln-Config "nushell"
Ln-Config "nvim"